#include "asm.h"
#include "regdef.h"
#include "inst_test.h"

LEAF(n26_xori_test)
    
    addi.w s0, s0 ,1
    li  s2, 0x00
###test inst
    TEST_XORI(0x4406a500, 0x000004bf, 0x4406a1bf)
    TEST_XORI(0xb5f52460, 0x00000abe, 0xb5f52ede)
    TEST_XORI(0x34547fee, 0x00000cfa, 0x34547314)
    TEST_XORI(0x4d7c6e70, 0x00000df4, 0x4d7c6384)
    TEST_XORI(0x0f04a9e8, 0x0000031e, 0x0f04aaf6)
    TEST_XORI(0xebec4441, 0x0000040b, 0xebec404a)
    TEST_XORI(0x6634ae18, 0x00000388, 0x6634ad90)
    TEST_XORI(0x91ab1a58, 0x00000a27, 0x91ab107f)
    TEST_XORI(0x799c2469, 0x00000287, 0x799c26ee)
    TEST_XORI(0x33412a00, 0x000009cd, 0x334123cd)
    TEST_XORI(0x3e00f810, 0x00000da6, 0x3e00f5b6)
    TEST_XORI(0x7a5a7b1e, 0x00000af4, 0x7a5a71ea)
    TEST_XORI(0x54f70200, 0x000004c2, 0x54f706c2)
    TEST_XORI(0xb076900d, 0x00000aec, 0xb0769ae1)
    TEST_XORI(0xefb34e75, 0x000000d0, 0xefb34ea5)
    TEST_XORI(0x8238b723, 0x00000da3, 0x8238ba80)
    TEST_XORI(0x8fd1c50e, 0x00000513, 0x8fd1c01d)
    TEST_XORI(0x527cfe40, 0x00000e4c, 0x527cf00c)
    TEST_XORI(0xa7916af8, 0x00000e00, 0xa79164f8)
    TEST_XORI(0x2a7ef402, 0x00000ec9, 0x2a7efacb)
    TEST_XORI(0xeaa4370c, 0x00000f7b, 0xeaa43877)
    TEST_XORI(0x398d82c0, 0x00000f20, 0x398d8de0)
    TEST_XORI(0xc17973c0, 0x00000204, 0xc17971c4)
    TEST_XORI(0x509b5930, 0x000006fb, 0x509b5fcb)
    TEST_XORI(0x02f1a8c0, 0x0000014a, 0x02f1a98a)
    TEST_XORI(0x9f1f1918, 0x00000180, 0x9f1f1898)
    TEST_XORI(0xa9995a23, 0x000006d0, 0xa9995cf3)
    TEST_XORI(0x790d38e8, 0x00000a4b, 0x790d32a3)
    TEST_XORI(0xe7b871a0, 0x00000ead, 0xe7b87f0d)
    TEST_XORI(0x43c63446, 0x00000b20, 0x43c63f66)
    TEST_XORI(0x67ed4840, 0x00000b4b, 0x67ed430b)
    TEST_XORI(0xd0399730, 0x00000932, 0xd0399e02)
    TEST_XORI(0xffce6838, 0x00000e7c, 0xffce6644)
    TEST_XORI(0x218508a0, 0x00000f06, 0x218507a6)
    TEST_XORI(0xd57ca985, 0x00000028, 0xd57ca9ad)
    TEST_XORI(0xb4dc272e, 0x00000cb8, 0xb4dc2b96)
    TEST_XORI(0x36d7bfad, 0x00000d1b, 0x36d7b2b6)
    TEST_XORI(0x50e364b4, 0x00000b80, 0x50e36f34)
    TEST_XORI(0xb4ddf452, 0x00000db8, 0xb4ddf9ea)
    TEST_XORI(0xb8f61d50, 0x00000d00, 0xb8f61050)
    TEST_XORI(0x5e686f00, 0x00000809, 0x5e686709)
    TEST_XORI(0x9d185660, 0x00000d22, 0x9d185b42)
    TEST_XORI(0x87fe1678, 0x00000990, 0x87fe1fe8)
    TEST_XORI(0x1e5eeff6, 0x0000077f, 0x1e5ee889)
    TEST_XORI(0xecf1b0c0, 0x000004b4, 0xecf1b474)
    TEST_XORI(0x06f1fc80, 0x0000078b, 0x06f1fb0b)
    TEST_XORI(0x4bd38394, 0x0000070a, 0x4bd3849e)
    TEST_XORI(0x6ccb50d0, 0x00000246, 0x6ccb5296)
    TEST_XORI(0x85699cc0, 0x00000aa0, 0x85699660)
    TEST_XORI(0xf02bf6f4, 0x0000085c, 0xf02bfea8)
    TEST_XORI(0xd9cf7ecc, 0x000005f8, 0xd9cf7b34)
    TEST_XORI(0x9fa2ec6c, 0x00000808, 0x9fa2e464)
    TEST_XORI(0xf40a7ab6, 0x00000ce5, 0xf40a7653)
    TEST_XORI(0x221f169c, 0x00000a05, 0x221f1c99)
    TEST_XORI(0x8bc94c7c, 0x00000eef, 0x8bc94293)
    TEST_XORI(0x9f1b301a, 0x000009ce, 0x9f1b39d4)
    TEST_XORI(0xbae49c78, 0x00000fe7, 0xbae4939f)
    TEST_XORI(0x20c1bee2, 0x00000975, 0x20c1b797)
    TEST_XORI(0x8719f46e, 0x00000c5e, 0x8719f830)
    TEST_XORI(0x8ee132b0, 0x00000013, 0x8ee132a3)
    TEST_XORI(0x4876e8e0, 0x00000895, 0x4876e075)
    TEST_XORI(0xa13c076b, 0x00000428, 0xa13c0343)
    TEST_XORI(0xeb47bdb0, 0x00000dac, 0xeb47b01c)
    TEST_XORI(0xa4d5085e, 0x00000ad8, 0xa4d50286)
    TEST_XORI(0x08c5015c, 0x0000003e, 0x08c50162)
    TEST_XORI(0xdc7f4352, 0x00000b28, 0xdc7f487a)
    TEST_XORI(0x1b2f16d0, 0x00000a30, 0x1b2f1ce0)
    TEST_XORI(0xbb07d7ee, 0x00000c8c, 0xbb07db62)
    TEST_XORI(0x17ab5626, 0x00000bbc, 0x17ab5d9a)
    TEST_XORI(0xe2620f20, 0x000000d2, 0xe2620ff2)
    TEST_XORI(0xa755ccd8, 0x000006a1, 0xa755ca79)
    TEST_XORI(0xd8d49d01, 0x00000310, 0xd8d49e11)
    TEST_XORI(0xfea7acb8, 0x00000c96, 0xfea7a02e)
    TEST_XORI(0xfe6d6cc0, 0x00000a44, 0xfe6d6684)
    TEST_XORI(0x0e8dbac0, 0x000008de, 0x0e8db21e)
    TEST_XORI(0xab400ea0, 0x0000078a, 0xab40092a)
    TEST_XORI(0x61736ae4, 0x000004c2, 0x61736e26)
    TEST_XORI(0x2c832410, 0x00000d4e, 0x2c83295e)
    TEST_XORI(0x1a39efe0, 0x0000073c, 0x1a39e8dc)
    TEST_XORI(0xc8793d1b, 0x00000c98, 0xc8793183)
    TEST_XORI(0xbfc7c7ce, 0x0000021a, 0xbfc7c5d4)
    TEST_XORI(0x7fde7f40, 0x00000ce7, 0x7fde73a7)
    TEST_XORI(0x1b069f4d, 0x00000ea8, 0x1b0691e5)
    TEST_XORI(0x54b73140, 0x00000b8a, 0x54b73aca)
    TEST_XORI(0x4430bfbe, 0x000007e3, 0x4430b85d)
    TEST_XORI(0x9ccd5ae2, 0x000007e0, 0x9ccd5d02)
    TEST_XORI(0x0682c23a, 0x00000bde, 0x0682c9e4)
    TEST_XORI(0x435111ec, 0x0000062d, 0x435117c1)
    TEST_XORI(0xc694f6f0, 0x0000069c, 0xc694f06c)
    TEST_XORI(0x25fe0d60, 0x00000a06, 0x25fe0766)
    TEST_XORI(0x340de130, 0x00000025, 0x340de115)
    TEST_XORI(0x27b0e95c, 0x000002c0, 0x27b0eb9c)
    TEST_XORI(0x1083e8f8, 0x0000029a, 0x1083ea62)
    TEST_XORI(0x6d9a63c8, 0x000005a0, 0x6d9a6668)
    TEST_XORI(0xe747d940, 0x0000088e, 0xe747d1ce)
    TEST_XORI(0x820ff0a0, 0x00000514, 0x820ff5b4)
    TEST_XORI(0xbd08a2d0, 0x000006aa, 0xbd08a47a)
    TEST_XORI(0x951bbfac, 0x00000f9c, 0x951bb030)
    TEST_XORI(0xcb4a2fe5, 0x000002bd, 0xcb4a2d58)
    TEST_XORI(0x4cac5398, 0x00000a7a, 0x4cac59e2)
    TEST_XORI(0x52d7c970, 0x000001c2, 0x52d7c8b2)
    TEST_XORI(0x48d5cb40, 0x00000800, 0x48d5c340)
    TEST_XORI(0xb6277340, 0x00000855, 0xb6277b15)
    TEST_XORI(0x1c5a5198, 0x000008b3, 0x1c5a592b)
    TEST_XORI(0x3ec2c29c, 0x00000c18, 0x3ec2ce84)
    TEST_XORI(0x4f93d6e2, 0x000002b0, 0x4f93d452)
    TEST_XORI(0x35f7338b, 0x000006fc, 0x35f73577)
    TEST_XORI(0x7d96e6a0, 0x000009d4, 0x7d96ef74)
    TEST_XORI(0x241f8e98, 0x00000f7a, 0x241f81e2)
    TEST_XORI(0x6448e8d0, 0x0000078b, 0x6448ef5b)
    TEST_XORI(0x8e72acb4, 0x000008e8, 0x8e72a45c)
    TEST_XORI(0x1675bfc8, 0x000006e3, 0x1675b92b)
    TEST_XORI(0xb6c0b746, 0x00000aef, 0xb6c0bda9)
    TEST_XORI(0xd65d3a44, 0x00000116, 0xd65d3b52)
    TEST_XORI(0x6312b7e0, 0x00000ee0, 0x6312b900)
    TEST_XORI(0x4d2d0e7c, 0x000009e6, 0x4d2d079a)
    TEST_XORI(0x69cc8da4, 0x00000045, 0x69cc8de1)
    TEST_XORI(0x77c96582, 0x0000037c, 0x77c966fe)
    TEST_XORI(0x5d88d5c0, 0x000005a0, 0x5d88d060)
    TEST_XORI(0x95191d82, 0x00000ba8, 0x9519162a)
    TEST_XORI(0xa8e3fae0, 0x00000473, 0xa8e3fe93)
    TEST_XORI(0x4b890a92, 0x000007e6, 0x4b890d74)
    TEST_XORI(0x4f16942d, 0x00000aff, 0x4f169ed2)
    TEST_XORI(0x7651e248, 0x00000a30, 0x7651e878)
    TEST_XORI(0xd5aae6f8, 0x00000e5a, 0xd5aae8a2)
    TEST_XORI(0x4c4ff410, 0x00000e00, 0x4c4ffa10)
    TEST_XORI(0x85a510c8, 0x00000b58, 0x85a51b90)
    TEST_XORI(0xbded2e10, 0x000009f0, 0xbded27e0)
    TEST_XORI(0x1b771d7c, 0x00000f09, 0x1b771275)
    TEST_XORI(0x61350040, 0x00000b6d, 0x61350b2d)
    TEST_XORI(0xd8b22e76, 0x00000227, 0xd8b22c51)
    TEST_XORI(0x1077f310, 0x00000bf8, 0x1077f8e8)
    TEST_XORI(0x40907e16, 0x00000c7c, 0x4090726a)
    TEST_XORI(0x018099e0, 0x00000faa, 0x0180964a)
    TEST_XORI(0xc929a3e2, 0x0000014a, 0xc929a2a8)
    TEST_XORI(0xb3234f60, 0x00000fa5, 0xb32340c5)
    TEST_XORI(0x4caf5120, 0x00000101, 0x4caf5021)
    TEST_XORI(0x3d9d7798, 0x000006a3, 0x3d9d713b)
    TEST_XORI(0x7b3bec00, 0x00000780, 0x7b3beb80)
    TEST_XORI(0x41b0e100, 0x0000099e, 0x41b0e89e)
    TEST_XORI(0x2bfff038, 0x00000976, 0x2bfff94e)
    TEST_XORI(0x8e2c2c64, 0x00000794, 0x8e2c2bf0)
    TEST_XORI(0xb960d030, 0x00000430, 0xb960d400)
    TEST_XORI(0x905340c0, 0x00000d54, 0x90534d94)
    TEST_XORI(0x22c766b0, 0x00000a34, 0x22c76c84)
    TEST_XORI(0x13d45580, 0x00000f3c, 0x13d45abc)
    TEST_XORI(0xa8051560, 0x00000259, 0xa8051739)
    TEST_XORI(0x69aecf80, 0x00000da8, 0x69aec228)
    TEST_XORI(0xbd803cf2, 0x00000d9c, 0xbd80316e)
    TEST_XORI(0x88a01000, 0x000003ea, 0x88a013ea)
    TEST_XORI(0x980f2f00, 0x0000059f, 0x980f2a9f)
    TEST_XORI(0x29bafada, 0x00000a22, 0x29baf0f8)
    TEST_XORI(0xb9b4e2c4, 0x00000469, 0xb9b4e6ad)
    TEST_XORI(0x5e330605, 0x00000b7e, 0x5e330d7b)
    TEST_XORI(0x3a980396, 0x00000a83, 0x3a980915)
    TEST_XORI(0xf6b2c980, 0x0000021c, 0xf6b2cb9c)
    TEST_XORI(0x7121a34c, 0x00000c85, 0x7121afc9)
    TEST_XORI(0xed08d0e0, 0x00000ccc, 0xed08dc2c)
    TEST_XORI(0x31a5f9bc, 0x00000e60, 0x31a5f7dc)
    TEST_XORI(0xa0410dd0, 0x00000ade, 0xa041070e)
    TEST_XORI(0xc82a429c, 0x00000d18, 0xc82a4f84)
    TEST_XORI(0xc38c82be, 0x000007ac, 0xc38c8512)
    TEST_XORI(0x3ac90f58, 0x00000e16, 0x3ac9014e)
    TEST_XORI(0xb49cc0b6, 0x00000ed0, 0xb49cce66)
    TEST_XORI(0x4e0a3b1f, 0x000005e1, 0x4e0a3efe)
    TEST_XORI(0xe38dbdc0, 0x000005b2, 0xe38db872)
    TEST_XORI(0x03b5e51e, 0x00000694, 0x03b5e38a)
    TEST_XORI(0x011a0400, 0x00000c56, 0x011a0856)
    TEST_XORI(0xc8978c6c, 0x00000f00, 0xc897836c)
    TEST_XORI(0x330d3704, 0x000005a3, 0x330d32a7)
    TEST_XORI(0xa1d13000, 0x0000026e, 0xa1d1326e)
    TEST_XORI(0xd2c33998, 0x00000cb4, 0xd2c3352c)
    TEST_XORI(0xefc6bfc8, 0x0000079a, 0xefc6b852)
    TEST_XORI(0xf0799810, 0x000006c1, 0xf0799ed1)
    TEST_XORI(0x17286f40, 0x00000d52, 0x17286212)
    TEST_XORI(0xaf9a3039, 0x00000733, 0xaf9a370a)
    TEST_XORI(0x1123ed00, 0x00000c80, 0x1123e180)
    TEST_XORI(0xb2291b00, 0x0000096e, 0xb229126e)
    TEST_XORI(0xea53a8fa, 0x000000b2, 0xea53a848)
    TEST_XORI(0x67cb64f5, 0x000005fc, 0x67cb6109)
    TEST_XORI(0x0037fc20, 0x00000e75, 0x0037f255)
    TEST_XORI(0xb7e197c8, 0x000004d0, 0xb7e19318)
    TEST_XORI(0xd994d5cd, 0x00000fae, 0xd994da63)
    TEST_XORI(0x2f4ebfd0, 0x00000048, 0x2f4ebf98)
    TEST_XORI(0x8788a528, 0x00000738, 0x8788a210)
    TEST_XORI(0x3343c212, 0x00000f74, 0x3343cd66)
    TEST_XORI(0xc238ba00, 0x000002fb, 0xc238b8fb)
    TEST_XORI(0x68db3cc5, 0x000006f0, 0x68db3a35)
    TEST_XORI(0xccc7d200, 0x00000283, 0xccc7d083)
    TEST_XORI(0x2bcfa162, 0x00000667, 0x2bcfa705)
    TEST_XORI(0x24582940, 0x00000fd4, 0x24582694)
    TEST_XORI(0xcbc280c0, 0x00000f2c, 0xcbc28fec)
    TEST_XORI(0xd2f1abb0, 0x00000f35, 0xd2f1a485)
    TEST_XORI(0xe7291c4a, 0x00000131, 0xe7291d7b)
    TEST_XORI(0x23c67bdd, 0x00000f10, 0x23c674cd)
    TEST_XORI(0x38c2e188, 0x00000348, 0x38c2e2c0)
    TEST_XORI(0xd773f2db, 0x00000f07, 0xd773fddc)
    TEST_XORI(0x3ca1541a, 0x00000182, 0x3ca15598)
    TEST_XORI(0x11ee01e0, 0x000000d8, 0x11ee0138)
    TEST_XORI(0xbe8c6ea0, 0x00000f40, 0xbe8c61e0)
    TEST_XORI(0xfe2a5f18, 0x00000000, 0xfe2a5f18)
    TEST_XORI(0x5d8fecc0, 0x00000000, 0x5d8fecc0)
    TEST_XORI(0x629e18f4, 0x00000000, 0x629e18f4)
    TEST_XORI(0xbf9f9e88, 0x00000000, 0xbf9f9e88)
    TEST_XORI(0x80e13969, 0x00000000, 0x80e13969)
    TEST_XORI(0x188afd20, 0x00000000, 0x188afd20)
    TEST_XORI(0x66773ad0, 0x00000000, 0x66773ad0)
    TEST_XORI(0xbd002d78, 0x00000000, 0xbd002d78)
    TEST_XORI(0x2309efac, 0x00000000, 0x2309efac)
    TEST_XORI(0x214bb0c0, 0x00000000, 0x214bb0c0)
    TEST_XORI(0x70b66650, 0x00000000, 0x70b66650)
    TEST_XORI(0x961aaab8, 0x00000000, 0x961aaab8)
    TEST_XORI(0x347dd2a2, 0x00000000, 0x347dd2a2)
    TEST_XORI(0x6fe40f00, 0x00000000, 0x6fe40f00)
    TEST_XORI(0x89aac5c0, 0x00000000, 0x89aac5c0)
    TEST_XORI(0x6ee9a990, 0x00000000, 0x6ee9a990)
    TEST_XORI(0x636c2ebc, 0x00000000, 0x636c2ebc)
    TEST_XORI(0xff5dd5cc, 0x00000000, 0xff5dd5cc)
    TEST_XORI(0x34a6426e, 0x00000000, 0x34a6426e)
    TEST_XORI(0xccb46c87, 0x00000000, 0xccb46c87)
    TEST_XORI(0x0e0e4962, 0x00000000, 0x0e0e4962)
    TEST_XORI(0x85ecdb21, 0x00000000, 0x85ecdb21)
    TEST_XORI(0xbbe84760, 0x00000000, 0xbbe84760)
    TEST_XORI(0x19568250, 0x00000000, 0x19568250)
    TEST_XORI(0x0f69f5c4, 0x00000000, 0x0f69f5c4)
    TEST_XORI(0x9f14f1e1, 0x00000000, 0x9f14f1e1)
    TEST_XORI(0x4f22541c, 0x00000000, 0x4f22541c)
    TEST_XORI(0x79226200, 0x00000000, 0x79226200)
    TEST_XORI(0x47317d40, 0x00000000, 0x47317d40)
    TEST_XORI(0xf314cdd6, 0x00000000, 0xf314cdd6)
    TEST_XORI(0x49d156e0, 0x00000000, 0x49d156e0)
    TEST_XORI(0x474020d6, 0x00000000, 0x474020d6)
    TEST_XORI(0x3a80da50, 0x00000000, 0x3a80da50)
    TEST_XORI(0x5b24a2d7, 0x00000000, 0x5b24a2d7)
    TEST_XORI(0xc60e08d4, 0x00000000, 0xc60e08d4)
    TEST_XORI(0x8a93a68c, 0x00000000, 0x8a93a68c)
    TEST_XORI(0x98c589ba, 0x00000000, 0x98c589ba)
    TEST_XORI(0x14f4dc08, 0x00000000, 0x14f4dc08)
    TEST_XORI(0xdc9a0398, 0x00000000, 0xdc9a0398)
    TEST_XORI(0x57850870, 0x00000000, 0x57850870)
    TEST_XORI(0x9411ecad, 0x00000000, 0x9411ecad)
    TEST_XORI(0x918be1ef, 0x00000000, 0x918be1ef)
    TEST_XORI(0xb47cced9, 0x00000000, 0xb47cced9)
    TEST_XORI(0x4bbedad2, 0x00000000, 0x4bbedad2)
    TEST_XORI(0x0e54c7f0, 0x00000000, 0x0e54c7f0)
    TEST_XORI(0xebaf86d8, 0x00000000, 0xebaf86d8)
    TEST_XORI(0xe82fbf0e, 0x00000000, 0xe82fbf0e)
    TEST_XORI(0x1cb3f250, 0x00000000, 0x1cb3f250)
    TEST_XORI(0x75f99ed0, 0x00000000, 0x75f99ed0)
    TEST_XORI(0x95fb46f8, 0x00000000, 0x95fb46f8)
    TEST_XORI(0x00000000, 0x000009f4, 0x000009f4)
    TEST_XORI(0x00000000, 0x00000098, 0x00000098)
    TEST_XORI(0x00000000, 0x00000701, 0x00000701)
    TEST_XORI(0x00000000, 0x00000f1d, 0x00000f1d)
    TEST_XORI(0x00000000, 0x0000079e, 0x0000079e)
    TEST_XORI(0x00000000, 0x00000ec9, 0x00000ec9)
    TEST_XORI(0x00000000, 0x000000a4, 0x000000a4)
    TEST_XORI(0x00000000, 0x000006b6, 0x000006b6)
    TEST_XORI(0x00000000, 0x000005c4, 0x000005c4)
    TEST_XORI(0x00000000, 0x00000f41, 0x00000f41)
    TEST_XORI(0x00000000, 0x000005cc, 0x000005cc)
    TEST_XORI(0x00000000, 0x0000094c, 0x0000094c)
    TEST_XORI(0x00000000, 0x00000f06, 0x00000f06)
    TEST_XORI(0x00000000, 0x00000f84, 0x00000f84)
    TEST_XORI(0x00000000, 0x00000a4d, 0x00000a4d)
    TEST_XORI(0x00000000, 0x00000ef8, 0x00000ef8)
    TEST_XORI(0x00000000, 0x00000804, 0x00000804)
    TEST_XORI(0x00000000, 0x000009d0, 0x000009d0)
    TEST_XORI(0x00000000, 0x00000394, 0x00000394)
    TEST_XORI(0x00000000, 0x00000383, 0x00000383)
    TEST_XORI(0x00000000, 0x00000ec8, 0x00000ec8)
    TEST_XORI(0x00000000, 0x000009a8, 0x000009a8)
    TEST_XORI(0x00000000, 0x0000010a, 0x0000010a)
    TEST_XORI(0x00000000, 0x00000362, 0x00000362)
    TEST_XORI(0x00000000, 0x000005c6, 0x000005c6)
    TEST_XORI(0x00000000, 0x00000764, 0x00000764)
    TEST_XORI(0x00000000, 0x00000690, 0x00000690)
    TEST_XORI(0x00000000, 0x00000309, 0x00000309)
    TEST_XORI(0x00000000, 0x00000748, 0x00000748)
    TEST_XORI(0x00000000, 0x00000fa0, 0x00000fa0)
    TEST_XORI(0x00000000, 0x000007ec, 0x000007ec)
    TEST_XORI(0x00000000, 0x00000eaa, 0x00000eaa)
    TEST_XORI(0x00000000, 0x00000f26, 0x00000f26)
    TEST_XORI(0x00000000, 0x000009ad, 0x000009ad)
    TEST_XORI(0x00000000, 0x00000baf, 0x00000baf)
    TEST_XORI(0x00000000, 0x00000726, 0x00000726)
    TEST_XORI(0x00000000, 0x00000432, 0x00000432)
    TEST_XORI(0x00000000, 0x0000066e, 0x0000066e)
    TEST_XORI(0x00000000, 0x00000ff0, 0x00000ff0)
    TEST_XORI(0x00000000, 0x000004ce, 0x000004ce)
    TEST_XORI(0x00000000, 0x00000e24, 0x00000e24)
    TEST_XORI(0x00000000, 0x000001e1, 0x000001e1)
    TEST_XORI(0x00000000, 0x00000d90, 0x00000d90)
    TEST_XORI(0x00000000, 0x00000a2d, 0x00000a2d)
    TEST_XORI(0x00000000, 0x0000005c, 0x0000005c)
    TEST_XORI(0x00000000, 0x000002a8, 0x000002a8)
    TEST_XORI(0x00000000, 0x0000016d, 0x0000016d)
    TEST_XORI(0x00000000, 0x00000502, 0x00000502)
    TEST_XORI(0x00000000, 0x00000ac5, 0x00000ac5)
    TEST_XORI(0x00000000, 0x00000918, 0x00000918)
    TEST_XORI(0x00000000, 0x00000000, 0x00000000)
###detect exception
    bne s2, zero, inst_error
    nop
###score ++
    addi.w s3, s3, 1
###output (s0<<24)|s3
inst_error:  
    slli.w t1, s0, 24
    NOP4
    or t0, t1, s3 
    NOP4
    st.w t0, s1, 0
    jirl zero, ra, 0
END(n26_xori_test)
